package com.example.demo.init;

import org.springframework.context.ApplicationContext;

/**
 * @author liguang03
 * @date 2024/1/3
 */
public class ApplicationContextCache {

    private static ApplicationContext context;


    public static void setApplicationContext(ApplicationContext applicationContext) {
        context = applicationContext;
    }

    public static ApplicationContext getApplicationContext() {
        return context;
    }
}
